const delay = (ms = 3000) =>
  new Promise((resolve) => {
    setTimeout(resolve, ms);
  });

module.exports = (app) => {
  app.get("/api/music", async (req, res) => {
    res.send({
      code: 0,
      msg: "ok",
      data: [{
        authorimage:'https://imagev2.xmcdn.com/group33/M01/F6/C4/wKgJUVoJSh2QZm-nAAJg-LT32M0646.jpg!strip=1&quality=7&magick=webp&op_type=5&upload_type=cover&name=web_large&device_type=ios',
        author:'张鹤伦',
        introducion:'德云社相声演员',
        work:[
            {
                image:'https://imagev2.xmcdn.com/storages/4f74-audiofreehighqps/BC/28/GKwRIW4IMSAWAAMICgIaML5O.jpeg!magick=webp',
                bookname:'扒马褂',
                bookauthor:'郭德纲 于谦 张鹤伦',
                id:1001,
                program:[
                    {
                        partname:'扒马褂1',
                        parttime:'03:24'
                    },
                    {
                        partname:'扒马褂2',
                        parttime:'03:22'
                    },

                    {
                        partname:'扒马褂3',
                        parttime:'03:21'
                    },
                    {
                        partname:'扒马褂4',
                        parttime:'02:24'
                    },
                    {
                        partname:'扒马褂5',
                        parttime:'05:24'
                    },
                ]
            },
            {
                image:'https://imagev2.xmcdn.com/group83/M0A/85/60/wKg5HV7nCwbxYZ8IAAdrb3OnYhY256.jpg!magick=webp',
                bookname:'老郎的婚礼',
                bookauthor:'张鹤伦 郎鹤炎',
                id:1002,
                program:[
                    {
                        partname:'老郎的婚礼1',
                        parttime:'03:24'
                    },
                    {
                        partname:'老郎的婚礼2',
                        parttime:'04:24'
                    },

                    {
                        partname:'老郎的婚礼3',
                        parttime:'05:24'
                    },


                ]
            },
            {
                image:'https://imagev2.xmcdn.com/storages/edbe-audiofreehighqps/4E/BA/CMCoOSQD0cURAAG7UQB6bGIn.jpg!magick=webp',
                bookname:'日本梆子',
                bookauthor:'张鹤伦 郎鹤炎 阎鹤祥',
                id:1003,
                program:[
                    {
                        partname:'日本梆子1',
                        parttime:'02:24'
                    },
                    {
                        partname:'日本梆子2',
                        parttime:'05:24'
                    },

                    {
                        partname:'日本梆子3',
                        parttime:'15:24'
                    },


                ]
            },
            ], 
      },
      
      {
        authorimage:'https://imagev2.xmcdn.com/group63/M02/08/E5/wKgMaF0nLNDgU2VvAABzdo5JmyI159.jpg!strip=1&quality=7&magick=webp&op_type=5&upload_type=cover&name=web_large&device_type=ios',
        author:'郭麒麟',
        introducion:'德云社相声演员',
        work:[
            {
                image:'https://imagev2.xmcdn.com/storages/4f74-audiofreehighqps/BC/28/GKwRIW4IMSAWAAMICgIaML5O.jpeg!magick=webp',
                bookname:'学哑语',
                bookauthor:'郭麒麟 谢天顺',
                id:2001,
                program:[
                    {
                        partname:'学哑语1',
                        parttime:'03:24'
                    },
                    {
                        partname:'学哑语2',
                        parttime:'02:24'
                    },

                    {
                        partname:'学哑语3',
                        parttime:'03:24'
                    },
                    {
                        partname:'学哑语4',
                        parttime:'01:24'
                    },
                    

                ]
            },
            {
                image:'https://imagev2.xmcdn.com/storages/a34e-audiofreehighqps/A8/5B/CMCoOSQEEl8GAAOGOwCNBdwr.jpg!magick=webp',
                bookname:'写对联',
                bookauthor:'郭麒麟 阎鹤祥',
                id:2002,
                program:[
                    {
                        partname:'写对联1',
                        parttime:'03:24'
                    },
                    {
                        partname:'写对联2',
                        parttime:'04:24'
                    },

                    {
                        partname:'写对联3',
                        parttime:'05:24'
                    },


                ]
            },
            {
                image:'https://imagev2.xmcdn.com/storages/8044-audiofreehighqps/16/32/CMCoOSMDwax7AAHK5AB2XuF5.jpg!magick=webp',
                bookname:'少帅出征',
                bookauthor:'郭麒麟、阎鹤祥',
                id:2003,
                program:[
                    {
                        partname:'少帅出征1',
                        parttime:'03:24'
                    },
                    {
                        partname:'少帅出征2',
                        parttime:'04:24'
                    },

                    {
                        partname:'少帅出征3',
                        parttime:'05:24'
                    },


                ]
            },
            
        ],

        
      },
      
      {
        authorimage:'https://imagev2.xmcdn.com/group61/M00/09/33/wKgMcF0nFbvRI9EQAAJSMtpsXBM687.jpg!strip=1&quality=7&magick=webp&op_type=5&upload_type=cover&name=web_large&device_type=ios',
        author:'张云雷',
        introducion:'德云社相声演员',
        work:[
            {
                image:'https://imagev2.xmcdn.com/group82/M09/72/9D/wKg5HF8w_EezLhhvAAGMEqAaZO8321.jpg!magick=webp',
                bookname:'汾河湾',
                bookauthor:'张云雷 郭德纲',
                id:3001
            },
            {
                image:'https://imagev2.xmcdn.com/group68/M08/67/89/wKgMbl3NG3iDDW9uAAUGGg77HiM624.jpg!magick=webp',
                bookname:'探清水河',
                bookauthor:'张云雷',
                id:3002
            },
            {
                image:'https://imagev2.xmcdn.com/group63/M09/6D/00/wKgMaF0u8NORMZ_4AAaYQaPUyrc471.jpg!magick=webp',
                bookname:'风的季节',
                bookauthor:'张云雷 孟鹤堂',
                id:3003
            },  
        ],  
      },
      {
        authorimage:'https://imagev2.xmcdn.com/group61/M0A/05/3A/wKgMZl0m1TDgoNJvAAR4f6M_UHA282.png!strip=1&quality=7&magick=webp&op_type=5&upload_type=cover&name=web_large&device_type=ios',
        author:'孟鹤堂',
        introducion:'德云社相声演员',
        work:[
            {
                image:'https://imagev2.xmcdn.com/group75/M03/89/A9/wKgO3V5xu46Rxs_KAAewPhkSf2Y446.jpg!magick=webp',
                bookname:'汾河湾',
                bookauthor:'孟鹤堂 周九良',
                id:4001
            },
            {
                image:'https://imagev2.xmcdn.com/group68/M01/E3/9B/wKgMbl3FNM3zHZXaAALmdp5OYLo224.png!magick=webp',
                bookname:'铃铛谱',
                bookauthor:'孟鹤堂 周九良',
                id:4002
            },
            {
                image:'https://imagev2.xmcdn.com/storages/df23-audiofreehighqps/AD/16/CMCoOSIDg7SHAAv3BQBmbkrq.jpg!magick=webp',
                bookname:'返场',
                bookauthor:'孟鹤堂 周九良',
                id:4003
            },  
        ],  
      },
      {
        authorimage:'https://imagev2.xmcdn.com/group69/M0A/8A/C4/wKgMeV2_4Wyww-J8AAAtunw0gdk31.jpeg!strip=1&quality=7&magick=webp&op_type=5&upload_type=cover&name=web_large&device_type=ios',
        author:'秦霄贤',
        introducion:'德云社相声演员',
        work:[
            {
                image:'https://imagev2.xmcdn.com/group68/M0B/E5/DF/wKgMbl3UzaHj-WKMAAJFB-qiM7w754.gif!op_type%3D3%26columns%3D290%26rows%3D290',
                bookname:'口吐莲花',
                bookauthor:'秦霄贤 何九华',
                id:5001
            },
            {
                image:'https://imagev2.xmcdn.com/group68/M09/5E/4B/wKgMeF3p_cvCrCZJAAK9Exf2q3M833.jpg!magick=webp',
                bookname:'窦公训女',
                bookauthor:'秦霄贤',
                id:5002
            },
            {
              image:'https://imagev2.xmcdn.com/group68/M0B/E5/DF/wKgMbl3UzaHj-WKMAAJFB-qiM7w754.gif!op_type%3D3%26columns%3D290%26rows%3D290',
              bookname:'结巴论',
              bookauthor:'秦霄贤',
              id:5003
          },  
        ],  
      },
      {
        authorimage:'https://imagev2.xmcdn.com/group67/M0A/59/57/wKgMbV3L_8zCLKskAAAVZqv6KYc42.jpeg!strip=1&quality=7&magick=webp&op_type=5&upload_type=cover&name=web_large&device_type=ios',
        author:'曹鹤阳',
        introducion:'德云社相声演员',
        work:[
            {
                image:'https://imagev2.xmcdn.com/group86/M0A/59/4F/wKg5Jl9F062xzcnEAAHuxE5Lwxs636.jpg!magick=webp',
                bookname:'攀比',
                bookauthor:'烧饼 曹鹤阳',
                id:6001
            },
            {
                image:'https://imagev2.xmcdn.com/group77/M08/68/6C/wKgO316QGXmADriVAAGcHFJYREM410.jpg!magick=webp',
                bookname:'酒色财气',
                bookauthor:'郑好 倪九涛',
                id:6002
            },
            {
                image:'https://imagev2.xmcdn.com/group71/M0A/D4/93/wKgO2V4gD3fzq2g0AAKo_f7Sq20222.jpg!magick=webp',
                bookname:'摇篮曲',
                bookauthor:'孔云龙 李云杰',
                id:6003
            },  
        ],  
      },
      
    ]
    })
  })
  

}